package com.milepost.workflow.flowinst.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.milepost.workflow.flowinst.entity.FlowInstSeqEntity;

/**
 * @author huarf
 * @Description
 * @create 2022-03-31 23:52
 */
public interface FlowInstSeqService extends IService<FlowInstSeqEntity> {

    /**
     * 获取下一个序列号
     * @return
     */
    FlowInstSeqEntity nextSeq();

    /**
     * 下一个流程实例序列号，
     * 格式如  20220331A01、20220331A02、、、20220331A99、20220331B01
     * @return
     */
    String nextFlowInstSn();
}
